package com.hornsun.domain.dbo;

import java.util.Date;

public class OrderForm {
    private String orderGuid;

    private String alias;//订单号

    private String openid;

    private Byte transactionStatus;//订单状态

    private String recipient;//收件人

    private String phone;//手机号

    private String location;//地址

    private Float actualExpenditure;//实际支出

    private String couponGuid;//优惠券id

    private Date orderTime;//下单时间

    private String waybill;//运单号

    private Integer discounts;//折扣

    public String getOrderGuid() {
        return orderGuid;
    }

    public void setOrderGuid(String orderGuid) {
        this.orderGuid = orderGuid == null ? null : orderGuid.trim();
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Byte getTransactionStatus() {
        return transactionStatus;
    }

    public void setTransactionStatus(Byte transactionStatus) {
        this.transactionStatus = transactionStatus;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient == null ? null : recipient.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Float getActualExpenditure() {
        return actualExpenditure;
    }

    public void setActualExpenditure(Float actualExpenditure) {
        this.actualExpenditure = actualExpenditure;
    }

    public String getCouponGuid() {
        return couponGuid;
    }

    public void setCouponGuid(String couponGuid) {
        this.couponGuid = couponGuid == null ? null : couponGuid.trim();
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getWaybill() {
        return waybill;
    }

    public void setWaybill(String waybill) {
        this.waybill = waybill == null ? null : waybill.trim();
    }

    public Integer getDiscounts() {
        return discounts;
    }

    public void setDiscounts(Integer discounts) {
        this.discounts = discounts;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderGuid=").append(orderGuid);
        sb.append(", alias=").append(alias);
        sb.append(", openid=").append(openid);
        sb.append(", transactionStatus=").append(transactionStatus);
        sb.append(", recipient=").append(recipient);
        sb.append(", phone=").append(phone);
        sb.append(", location=").append(location);
        sb.append(", actualExpenditure=").append(actualExpenditure);
        sb.append(", couponGuid=").append(couponGuid);
        sb.append(", orderTime=").append(orderTime);
        sb.append(", waybill=").append(waybill);
        sb.append(", discounts=").append(discounts);
        sb.append("]");
        return sb.toString();
    }
}